package io.terminus.paas.profiler.monitor

import com.alibaba.dubbo.rpc.Invocation
import com.alibaba.dubbo.rpc.Result
import io.terminus.paas.profiler.model.TracingRecord

/**
 * Created by gengrong on 16/5/17.
 */
interface Monitor {

    fun invokerBefore(invocation: Invocation)

    fun invokerAfter(result: Result)

    fun recording(record: TracingRecord)

}